<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/custom.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/accountAystem/addpage.css" />
    <title>普通会员首页</title>
</head>
<body data-id="35">
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页  <span class="c-gray en">&gt;</span>客户管理<span class="c-gray en">&gt;</span>客户组<span class="c-gray en">&gt;</span>添加主客户</nav>
<article class="page-container">
    <form class="ml-20 mr-20" id="form-search"  method="post">
        <div class="bg-1 bk-gray pb-10">
            <div class="addpage-titname">主客户名称</div>
            <div class="addpage-line"></div>
            <div class="addpage-kename">
                <span>主客户名称：</span><span id="mainCustomerName"></span>
            </div>
            <span class="addpage-selectcusterm">选择客户</span>
            <div class="addpage-line"></div>
            <div class="addpage-addcusterm"  onclick="customerjump('选择客户','select_customers.html')" >添加客户</div>
            <div class="addpage-custermshow">客户展示</div>
            <div class="addpage-line"></div>
            <div class="lh-30 mb-10 ml-20 mt-20">
                <table class="table_li mb-10 table ml-20">
                    <thead class="text-l">
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r lh-26">客户名称：</label>
                                <div class="formControls f-l">
                                    <input type="text" class="input-text radius ml-10 w-150" id="customerName" placeholder="请输入客户名称" oninput="checkMaxIut(this)" autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">客户ID：</label>
                                <div class="formControls f-l">
                                    <input type="text" class="input-text radius ml-10 w-150" id="customerId" oninput="value=value.replace(/[\W]/g,'')" placeholder="请输入客户ID" maxlength="20" autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">客户代码：</label>
                                <div class="formControls f-l">
                                    <input type="text" class="input-text radius ml-10 w-150" id="customerCode" autofocus="autofocus" onkeyup="value=value.replace(/[^\d^\.]+/g,'')" maxlength="20"  placeholder="请输入客户代码"  autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                    </tr>
                    </thead>
                </table>
            </div>
            <div class="text-c pb-20 pt-10">
                <span class="addpage-query"><input  id="search" onclick="maincustomer()"  type="button" class="btn btn-secondary radius size-S " value="查询"></span>
                <input name="" type="reset" class="btn  radius size-S" value="重置">
            </div>
            <table class="table table-border table-bg table-hover table-sort mt-10" id="datatable">
                <thead>
                <tr class="text-c">
                    <th>序号</th>
                    <th>客户代码</th>
                    <th>客户ID</th>
                    <th>主客户名称</th>
                    <th>客户归属</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody class="shun">

                </tbody>
            </table>
            <div class="mt-40"></div>
            <div class="dataTables_wrapper goods_fanye clearfix mt-5">
                <div class="f-r pageturning M-box3"></div>
            </div>
            <!--<div class="addpage-line"></div>-->
           <!-- <div class="text-c pb-20 pt-10">
                <span class="addpage-query"><input  type="button" onclick="maincustomerfh(1)" class="btn btn-secondary radius size-S " value="确定"></span>
                <input name="" type="reset" onclick="maincustomerfh(2)" class="btn  radius size-S" value="返回">
            </div>-->
        </div>
    </form>
</article>







<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
<!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
<script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<script src="../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../ht-js/Project.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
<!--引入分页-->
<link rel="stylesheet" href="../../../lib/pagination/pagination.css">
<script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<script src="../../../ht-js/Customer/accountAystem/addpage.js?rev=@@hash"></script>
<!--权限控制-->
<script type="text/javascript" src="../../../ht-js/power.js?rev=@@hash"></script>
<script>
    function conter() {
        maincustomer()
    }
</script>
</body>
</html>